﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using VisionCloud.Core.Model.Sys;
using VisionCloud.Domain.Common;
using VisionCloud.Domain.DtoModel.Sys;

namespace VisionCloud.Domain.Repository.Interface.Sys
{
    public interface ISysUserRoleRepository : IBaseRepository<SysUserRole>
    {
        Task<ApiPageResult> GetPage(SysUserRoleCondition condition);

        Task<List<SysUserRoleDto>> FindSysUserRole(Guid sysUserRoleDto);

        Task<SysUserRole> Get(SysUserRoleCondition condition);
    }
}